import request from '@/untils/request'
export const getScoreTimeAPI = (score, correct, mobilePhone) => {
  // return request.post('/words/setScore', {
  //   score,
  //   correct,
  //   mobilePhone,
  //   headers: {
  //     tag: localStorage.getItem('tag')
  //   }
  // })
  return request(
    {
      method: 'POST',
      url: '/words/setScore',
      headers: {
        tag: localStorage.getItem('tag')
      },
      data: {
        score,
        correct,
        mobilePhone
      }
    }
  )
}
